<template>
    <div class="">
        <editCom v-if="true" :otherEdit='true' :otherEdit_option='otherEdit_option' :otherEdit_mid='mid'
                 @dosth="dosth"></editCom>

    </div>
</template>

<script>
    import tool from 'src/util/tool';
    import util from '_util/index';
    import logic from '_logic';
    import editCom from 'components/edit/editCom'

    export default {
        props: ['option'],
        components: {editCom},
        data(){
            return {}

        },
        watch: {},
        computed: {
            mid(){
                return this.option.mid;
            },
            otherEdit_option(){
                return {
                    can_submit: this.option.can_submit || false
                };
            }
        },
        created(){

        },
        methods: {
            dosth(){
                let clb = this.option.clb;
                if (util.isFunction(clb))
                    clb()
            }
        }

    }
</script>

<style lang="less" rel="stylesheet/less" scoped>
</style>
